package com.hkccommunity.entity;

import java.util.Arrays;

public class Problem {

    private Long problemId;
    private String title;
    private String content;
    private String img;
    private Long readCount;
    private String createTime;
    private Long createUser;
    private String problemLabel;
    private Integer delete;

    @Override
    public String toString() {
        return "Problem{" +
                "problemId=" + problemId +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", img='" + img + '\'' +
                ", readCount=" + readCount +
                ", createTime='" + createTime + '\'' +
                ", createUser=" + createUser +
                ", problemLabel='" + problemLabel + '\'' +
                ", delete=" + delete +
                '}';
    }

    public Problem() {
    }

    public Problem(Long problemId, String title, String content, String img, Long readCount, String createTime, Long createUser, String problemLabel, Integer delete) {
        this.problemId = problemId;
        this.title = title;
        this.content = content;
        this.img = img;
        this.readCount = readCount;
        this.createTime = createTime;
        this.createUser = createUser;
        this.problemLabel = problemLabel;
        this.delete = delete;
    }

    public Long getProblemId() {
        return problemId;
    }

    public void setProblemId(Long problemId) {
        this.problemId = problemId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Long getReadCount() {
        return readCount;
    }

    public void setReadCount(Long readCount) {
        this.readCount = readCount;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public String getProblemLabel() {
        return problemLabel;
    }

    public void setProblemLabel(String problemLabel) {
        this.problemLabel = problemLabel;
    }

    public Integer getDelete() {
        return delete;
    }

    public void setDelete(Integer delete) {
        this.delete = delete;
    }
}
